cmake_minimum_required(VERSION 3.8)
project(maximum_spanning_tree)

# 包含 standard.h 文件(Modern CMake不推荐使用include_directories)
# include_directories(../../)

add_library(maximum_spanning_tree prim.cpp)


# 将头文件链接到所生成的库中(prim.h)
target_include_directories(maximum_spanning_tree PUBLIC ./)


# 包含所需的头文件(standard.h)
target_include_directories(maximum_spanning_tree PRIVATE ../..)